home *** CD-ROM | disk | FTP | other *** search
/ Windows Game Programming for Dummies (2nd Edition) / WinGamProgFD.iso / pc / DirectX SDK / DXSDK / samples / Multimedia / DirectShow / Players / Jukebox / globals.cpp next >
Encoding:
C/C++ Source or Header  |  2001-10-08  |  782 b   |  32 lines

  1. //------------------------------------------------------------------------------
  2. // File: Globals.h
  3. //
  4. // Desc: DirectShow sample code - global data for Jukebox application.
  5. //
  6. // Copyright (c) 1998-2001 Microsoft Corporation.  All rights reserved.
  7. //------------------------------------------------------------------------------
  8.  
  9.  
  10. #include "stdafx.h"
  11. #include <dshow.h>
  12.  
  13. #include "playvideo.h"
  14.  
  15. //
  16. // Global data
  17. //
  18. IGraphBuilder *pGB = NULL;
  19. IMediaSeeking *pMS = NULL;
  20. IMediaControl *pMC = NULL;
  21. IMediaEventEx *pME = NULL;
  22. IBasicVideo   *pBV = NULL;
  23. IVideoWindow  *pVW = NULL;
  24.  
  25. FILTER_STATE g_psCurrent=State_Stopped;
  26.  
  27. BOOL g_bLooping=FALSE,
  28.      g_bAudioOnly=FALSE,
  29.      g_bDisplayEvents=FALSE,
  30.      g_bGlobalMute=FALSE,
  31.      g_bPlayThrough=FALSE;
  32.